package domain;

import java.util.List;

import lombok.Data;

// 分页信息

@Data
public class PageBean<T> 
{
	
	// 当前第几页
	int page;
	// 总页数
	int pageCount;
	// 总数量
	int count;
	
	// 这一页的数据
	List<T> list;
	
	// 分页开始的序号
	int start;
	// 分页开始的序号	
	int end;
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	public PageBean(int page, int pageCount, int count, List<T> list, int start, int end) {
		super();
		this.page = page;
		this.pageCount = pageCount;
		this.count = count;
		this.list = list;
		this.start = start;
		this.end = end;
	}
	public PageBean() {
		super();
	}
	

}
